package com.nineclock.system.service;

import com.nineclock.model.dto.SysCompanyUserDTO;
import com.nineclock.model.dto.SysRegisterDTO;
import com.nineclock.model.dto.SysUserDTO;

public interface SysUserService {
    /**
     * 根据用户名或者手机号查询系统用户
     * @param username
     * @return
     */
    public SysUserDTO queryUser(String username);

    SysCompanyUserDTO findUserById(Long userId);

    Long register(SysRegisterDTO sysRegisterDTO);
}